<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" type="text/css" href="../css/start/jquery-ui-1.8.13.custom.css" />
<link rel="stylesheet" type="text/css" media="all" href="../css/jquery.tablesorter-update.css" />
<script type="text/javascript" src="../js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="../js/jquery-ui-1.8.13.custom.min.js"></script>
<script type="text/javascript" src="../js/jquery.tablesorter-update.js"></script>
<script type="text/javascript" src="../js/jquery.dialog.extra.js"></script>
<script type="text/javascript" src="../js/utils.js"></script>
<script type="text/javascript" src="../js/ajax.js"></script>
<script type="text/javascript">
<%
		out.print("var idUsuario='" + request.getParameter("idUsuario") + "';\n");
		out.print("var fechaini='" + request.getParameter("fechaini") + "';\n");
		out.print("var fechater='" + request.getParameter("fechater") + "';\n");
		out.print("var idArea='" + request.getParameter("idArea") + "';\n");
		out.print("var idNegocio='" + request.getParameter("idNegocio") + "';\n");
		out.print("var idSitio='" + request.getParameter("idSitio") + "';\n");
%>
</script>
<script type="text/javascript">
	$(document).ready(function() {
        $('body').append(
                $('<div>').attr('id', 'loading').append(
                    $('<img>').attr('src', '../images/ajax_loading.gif').attr('alt', 'Cargando...')
                  ).css({
                      position: 'fixed',
                      display: 'none'
                  })
        );

    	$("#divTableDetalleMetaUsuario").show("slow", function(){
    		DetalleMetasUsuario(idUsuario,fechaini,fechater,idNegocio,idSitio,idArea);
        });       
	});		
	
</script>
</head>
<body>	 
<div id="divTableDetalleMetaUsuario" class="ui-widget" style="display:none; width:90%; margin-top:2em; font-family:Arial">
<table id="tblDetalleMetaUsuario" cellspacing="1" border ="0" class="tablesorter">
<thead>
<tr>
<th>Meta</th>
<th>Negocio</th>
<th>Sitio</th>
<th>Area</th>
<th>Seguros</th>
<th>Inseguros</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</body>
</html>